package com.bestcem.xm.qdes.controller.param;

import com.bestcem.xm.common.core.domain.base.UserBaseInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author guitao.lu
 * @version V1.0
 * @date 2022/8/1
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProjectLibCreateParam extends UserBaseInfo {
    @ApiModelProperty(value = "问卷id")
    private String pid;

    @NotBlank(message = "title is required")
    @ApiModelProperty(value = "模板名称")
    private String title;

    @ApiModelProperty(value = "标签id集合")
    private List<TagLibParam> labels;

    @ApiModelProperty(value = "是否是公共库，true是公共库，false不是公共库", hidden = true)
    private Boolean isOfficial;
}
